import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue(App)
app.$mount()

export default {
  // 这个字段走 app.json
  config: {
    // 页面前带有 ^ 符号的，会被编译成首页，其他页面可以选填，我们会自动把 webpack entry 里面的入口页面加进去
    pages: ['pages/logs/main',
            '^pages/trader/main'
            // "pages/activity/activity",
            // "pages/me/me"
          ],
    window: {
      backgroundTextStyle: 'light',
      navigationBarBackgroundColor: '#EA5149',
      navigationBarTitleText: '盘手汇',
      navigationBarTextStyle: 'white'
    },
    'tabBar': {
      selectedColor: '#EA5149',
      list: [
        {
          pagePath: 'pages/trader/main',
          text: '盘手汇',
          iconPath: 'static/images/tabbar/ico-home.png',
          selectedIconPath: 'static/images/tabbar/ico-home-d.png'
        },
        {
          pagePath: 'pages/activity/main',
          text: '活动',
          iconPath: 'static/images/tabbar/ico-activity.png',
          selectedIconPath: 'static/images/tabbar/ico-activity-d.png'
        },
        {
          pagePath: 'pages/me/main',
          text: '我的',
          iconPath: 'static/images/tabbar/ico-rank.png',
          selectedIconPath: 'static/images/tabbar/ico-rank-d.png'
        }
      ]
    }
  }
}
